<div class="panel panel-default panel-intro">

    <div class="panel-heading">
        {:build_heading(null, FALSE)}
        <ul class="nav nav-tabs" data-field="status">
            <li class="active"><a href="#t-all" data-value="" data-toggle="tab">{:__('All')}</a></li>
            {foreach name="statusList" item="vo"}
            <li><a href="#t-{$key}" data-value="{$key}" data-toggle="tab">{$vo}</a></li>
            {/foreach}
        </ul>
    </div>

    <div class="panel-body">
        <div id="myTabContent" class="tab-content">
            <div id="one" class="tab-pane fade active in">
                <div class="widget-body no-padding">
                    <div id="toolbar" class="toolbar">
                        {:build_toolbar('refresh,delete')}
                        <div class="dropdown btn-group">
                            <a class="btn btn-primary btn-more dropdown-toggle btn-disabled disabled" data-toggle="dropdown"><i class="fa fa-sliders"></i> <?= __('More') ?></a>
                            <ul class="dropdown-menu text-left" role="menu">
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:" data-params="status=1"><i class="fa fa-eye"></i> {:__('Set to normal')}</a></li>
                                <li><a class="btn btn-link btn-multi btn-disabled disabled" href="javascript:" data-params="status=2"><i class="fa fa-eye-slash"></i> {:__('设为屏蔽')}</a></li>
                            </ul>
                        </div>
                        <a class="btn btn-success btn-code {:$auth->check('yungift/member/createCode')?'':'hide'}" href="javascript:" title="{:__('生成登录码')}" id="btn-create-code"><i class="fa fa-key"></i> {:__('生成登录码')}</a>
                        <a class="btn btn-success btn-add {:$auth->check('yungift/member/add')?'':'hide'}" href="javascript:" title="{:__('Add')}"><i class="fa fa-plus"></i> {:__('Add')}</a>
                        <a class="btn btn-success btn-export {:$auth->check('yungift/member/export')?'':'hide'}" href="javascript:" title="{:__('Export')}" id="btn-export-file"><i class="fa fa-download"></i> {:__('Export')}</a>
                        <a class="btn btn-danger btn-import {:$auth->check('yungift/member/import')?'':'hide'}" href="javascript:" title="{:__('Import')}" id="btn-import-file" data-url="ajax/upload" data-mimetype="csv,xls,xlsx" data-multiple="false"><i class="fa fa-upload"></i> {:__('Import')}</a>
                        <a class="btn btn-success btn-dialog {:$auth->check('yungift/import_log')?'':'hide'}"  href="yungift/import_log?scene=member" data-area="[&quot;90%&quot;,&quot;90%&quot;]" title="{:__('导入日志')}"><i class="fa fa-tint"></i> {:__('导入日志')}</a>
                        <a class="{:$auth->check('yungift/member/export')?'':'hide'}" href="/assets/addons/yungift/file/批量导入成员模板.xlsx" target="_blank" title="{:__('下载导入模板')}">{:__('下载导入模板')}</a>
                    </div>
                    <table id="table" class="table table-striped table-bordered table-hover table-nowrap">
                    </table>
                </div>
            </div>
        </div>
    </div>
</div>
